package com.sxpcwlkj.docApi.service;

import com.sxpcwlkj.docApi.entity.DocUser;
import com.sxpcwlkj.docApi.entity.bo.DocUserBo;
import com.sxpcwlkj.docApi.entity.vo.DocUserVo;
import com.sxpcwlkj.framework.sercice.BaseService;

import java.util.Set;

/**
 * 文档用户-接口
 *
 * @author 西决
 * @Doc <a href='https://www.mmsadmin.com'>MMS文档</a>
 * @describe  支持自定义扩展,已继承接口：{insert、deleteById、updateById、selectById、getByEntityListPage}（更多查看BaseService接口）
 */
public interface DocUserService extends BaseService<DocUser, DocUserVo, DocUserBo> {

    /**
     * 绑定openId
     * @param openId openId
     * @return 用户
     */
    DocUser bindingOpenId(String openId);

    Boolean updateLoginById(String openId, String address);
}
